import { ApiProperty } from '@nestjs/swagger';

export class ImgUpload {
  @ApiProperty({
    description: '上传封面图',
    type: 'string',
    format: 'binary',
  })
  file: Express.Multer.File;
}

export class videoUpload {
  @ApiProperty({
    description: '视频上传',
    type: 'string',
    format: 'binary',
  })
  file: Express.Multer.File;
}

export class uploadFiles {
  @ApiProperty({
    description: '文件上传（适配Upload组件）',
    type: 'string',
    format: 'binary',
  })
  staff: any;
}